﻿namespace lwzlz.Application.Model
{
    public class DataColumnInfo
    {
        /// <summary>
        /// 字段序号
        /// </summary>
        public string Id { set; get; }
        /// <summary>
        /// 数据表的名称
        /// </summary>
        public string TableName { set; get; }
        /// <summary>
        /// 字段名
        /// </summary>
        public string Name { set; get; }
        /// <summary>
        /// 自增长
        /// </summary>
        public string IsIdentity { set; get; }
        public string IsIdentityDesc { set; get; }
        /// <summary>
        /// 标识种子
        /// </summary>
        public string IdentSeed { set; get; }
        /// <summary>
        /// 递增量
        /// </summary>
        public string IdentIncr { set; get; }
        /// <summary>
        /// 是否为主键
        /// </summary>
        public string IsKey { set; get; }
        public string IsKeyDesc { set; get; }
        /// <summary>
        /// 字段类型
        /// </summary>
        public string Type { set; get; }
        /// <summary>
        /// 占用字节数
        /// </summary>
        public string Bytes { set; get; }
        /// <summary>
        /// 长度
        /// </summary>
        public string Length { set; get; }
        /// <summary>
        /// 小数位数
        /// </summary>
        public string Scale { set; get; }
        /// <summary>
        /// 允许空
        /// </summary>
        public string IsNullable { set; get; }
        public string IsNullableDesc { set; get; }
        /// <summary>
        /// 默认值
        /// </summary>
        public string DefaultValue { set; get; }
        /// <summary>
        /// 字段说明
        /// </summary>
        public string Description { set; get; }
    }
}